/*
 * Copyright 2010 bedatadriven
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

/**
 * JacobGen generated file --- do not edit
 *
 * (http://www.bigatti.it/projects/jacobgen)
 */
package com.bedatadriven.mso.powerpoint;

import com.bedatadriven.mso.core.MsoTriState;
import com.bedatadriven.mso.core.Shape;
import com.google.gwt.core.client.JavaScriptObject;

/** Wrapper for PowerPoint.Timing*/
public class Timing extends JavaScriptObject {

	protected Timing() { }
	public native final PpApplication getApplication()/*-{
		return this.Application;
	}-*/;

	public native final Object getParent()/*-{
		return this.Parent;
	}-*/;

	public native final float getDuration()/*-{
		return this.Duration;
	}-*/;

	public native final void setDuration(float value)/*-{
		this.Duration = value;
	}-*/;

	public native final int getTriggerType()/*-{
		return this.TriggerType;
	}-*/;

	public native final void setTriggerType(int value)/*-{
		this.TriggerType = value;
	}-*/;

	public native final float getTriggerDelayTime()/*-{
		return this.TriggerDelayTime;
	}-*/;

	public native final void setTriggerDelayTime(float value)/*-{
		this.TriggerDelayTime = value;
	}-*/;

	public native final Shape getTriggerShape()/*-{
		return this.TriggerShape;
	}-*/;

	public native final void setTriggerShape(Shape value)/*-{
		this.TriggerShape = value;
	}-*/;

	public native final int getRepeatCount()/*-{
		return this.RepeatCount;
	}-*/;

	public native final void setRepeatCount(int value)/*-{
		this.RepeatCount = value;
	}-*/;

	public native final float getRepeatDuration()/*-{
		return this.RepeatDuration;
	}-*/;

	public native final void setRepeatDuration(float value)/*-{
		this.RepeatDuration = value;
	}-*/;

	public native final float getSpeed()/*-{
		return this.Speed;
	}-*/;

	public native final void setSpeed(float value)/*-{
		this.Speed = value;
	}-*/;

	public native final float getAccelerate()/*-{
		return this.Accelerate;
	}-*/;

	public native final void setAccelerate(float value)/*-{
		this.Accelerate = value;
	}-*/;

	public native final float getDecelerate()/*-{
		return this.Decelerate;
	}-*/;

	public native final void setDecelerate(float value)/*-{
		this.Decelerate = value;
	}-*/;

	protected native final int _getAutoReverse()/*-{
		return this.AutoReverse;
	}-*/;

	public final MsoTriState getAutoReverse(){
		return MsoTriState.valueOf(_getAutoReverse());
	}
	protected native final void _setAutoReverse( int value)/*-{
		this.AutoReverse = value;
	}-*/;

	public final void setAutoReverse(MsoTriState value){
		_setAutoReverse(value.getValue());
	}
	protected native final int _getSmoothStart()/*-{
		return this.SmoothStart;
	}-*/;

	public final MsoTriState getSmoothStart(){
		return MsoTriState.valueOf(_getSmoothStart());
	}
	protected native final void _setSmoothStart( int value)/*-{
		this.SmoothStart = value;
	}-*/;

	public final void setSmoothStart(MsoTriState value){
		_setSmoothStart(value.getValue());
	}
	protected native final int _getSmoothEnd()/*-{
		return this.SmoothEnd;
	}-*/;

	public final MsoTriState getSmoothEnd(){
		return MsoTriState.valueOf(_getSmoothEnd());
	}
	protected native final void _setSmoothEnd( int value)/*-{
		this.SmoothEnd = value;
	}-*/;

	public final void setSmoothEnd(MsoTriState value){
		_setSmoothEnd(value.getValue());
	}
	protected native final int _getRewindAtEnd()/*-{
		return this.RewindAtEnd;
	}-*/;

	public final MsoTriState getRewindAtEnd(){
		return MsoTriState.valueOf(_getRewindAtEnd());
	}
	protected native final void _setRewindAtEnd( int value)/*-{
		this.RewindAtEnd = value;
	}-*/;

	public final void setRewindAtEnd(MsoTriState value){
		_setRewindAtEnd(value.getValue());
	}
	public native final int getRestart()/*-{
		return this.Restart;
	}-*/;

	public native final void setRestart(int value)/*-{
		this.Restart = value;
	}-*/;

}
